const mysqlConfig = require('./config/mysql-config')

const Sequelize = require('sequelize')
const sequelize = new Sequelize(mysqlConfig.dbname, mysqlConfig.uname, mysqlConfig.upwd, {
	host: mysqlConfig.host,
	dialect: mysqlConfig.dialect,
	pool: mysqlConfig.pool
})

module.exports = sequelize